DicomObjects.NET.V8
DicomObjects Namespace / DicomVolume Class / DicomVolume Constructor / DicomVolume Constructor(IEnumerable<DicomImage>,Boolean,Single)
The set of images to derive the DicomVolume from
True if even spacing is to be used
The desired spacing



In This Topic
    DicomVolume Constructor(IEnumerable<DicomImage>,Boolean,Single)
    In This Topic
    Create a DicomVolume with even spacing, from data which may not be evenly spaced.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal Images As IEnumerable(Of DicomImage), _
       ByVal EvenSpacing As Boolean, _
       ByVal Spacing As Single _
    )
    'Usage
     
    Dim Images As IEnumerable(Of DicomImage)
    Dim EvenSpacing As Boolean
    Dim Spacing As Single
     
    Dim instance As New DicomVolume(Images, EvenSpacing, Spacing)
    public DicomVolume( 
       IEnumerable<DicomImage> Images,
       bool EvenSpacing,
       float Spacing
    )
    public:
    DicomVolume( 
       IEnumerable<DicomImage^>^ Images,
       bool EvenSpacing,
       float Spacing
    )

    Parameters

    Images
    The set of images to derive the DicomVolume from
    EvenSpacing
    True if even spacing is to be used
    Spacing
    The desired spacing
    Remarks

    If EvenSpacing is false, then this is equivalent to the simple constructor with only one parameter

    If Spacing is 0, then the spacing between the first 2 images in the collection is used.

    The spacing is measured normal to the plane of the slices.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also